
#include"CmdTest.h"
#include"../src/util.h"
#include<cstring>
#include<fstream>
#include<iostream>

CmdTest::CmdTest() {}
void CmdTest::test(std::string s)
{
	const char ** argv;
	
	int argc;
	argv =split_string(s, argc) ;
	std::cout << argc;
	bool  no_exception_catched = true;
	CmdParser cmdp(argc, argv);
	try
	{
		cmdp.parse_arguments();
	}
	catch (std::exception) {no_exception_catched  = false;}
	CHECK(no_exception_catched);

}

void CmdTest::run(int number_of_tests)
{
	
	test("ee encrypt -m");
}

